import pyglet
from os.path import join

def load_image(img_name):
    return pyglet.resource.image(join('resource', img_name))